]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
windowManager: Fix destroy animation
authorJasper St. Pierre <jstpierre@mecheye.net>
Sun, 3 Aug 2014 19:28:04 +0000 (15:28 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sun, 3 Aug 2014 19:30:06 +0000 (15:30 -0400)
Guess who didn't test his destroy animation that he pushed without any
review!!! It wasn't me!

js/ui/windowManager.js

index d77160e397b84254627e403d162f207289e7ee4f..da4d780bb6bcbb4aadcac03d3cd81f93e10903f9 100644 (file)
@@ -1175,10 +1175,10 @@ const WindowManager = new Lang.Class({
                                scale_y: 0.8,
                                time: DESTROY_WINDOW_ANIMATION_TIME,
                                transition: 'easeOutQuad',
-                               onComplete: this._mapWindowDone,
+                               onComplete: this._destroyWindowDone,
                                onCompleteScope: this,
                                onCompleteParams: [shellwm, actor],
-                               onOverwrite: this._mapWindowOverwrite,
+                               onOverwrite: this._destroyWindowDone,
                                onOverwriteScope: this,
                                onOverwriteParams: [shellwm, actor]
                              });
@@ -1201,7 +1201,7 @@ const WindowManager = new Lang.Class({
                              { scale_y: 0,
                                time: DIALOG_DESTROY_WINDOW_ANIMATION_TIME,
                                transition: 'easeOutQuad',
-                               onComplete: this._destoyWindowDone,
+                               onComplete: this._destroyWindowDone,
                                onCompleteScope: this,
                                onCompleteParams: [shellwm, actor],
                                onOverwrite: this._destroyWindowDone,